using System;
using System.ComponentModel;

namespace shfa.snomtastic.data.business
{
    
    public partial class ConfigurationSettingInfo
    {
	
		#region Members

        public string Setting { get; set; }
        public int SettingIndex { get; set; }
        public string Category { get; set; }
        public string Subcategory { get; set; }
        public string Source { get; set; }
        public string Config { get; set; }

		#endregion

        public void FillDetails()
        {
            SettingController sc = new SettingController();
            SettingInfo si = sc.SelectSetting(this.SettingId);
            if (si!=null)
            {
                si.FillDetails();
                this.SettingIndex = si.SettingIndex;
                this.Setting = si.Name;
                this.Category = si.Category;
                this.Subcategory = si.Subcategory;
            }

        }

	}
}
	
		
